<!DOCTYPE html>
<html>
<head>
                <title>PhoneGap + AdMob</title>
		
                <script src="cordova.js" type="text/javascript"></script>
		
		<!--
                <script src="AdMob.js" type="text/javascript"></script>
                <script>
			/*alert(cordova);*/
			
			var am = admobExport;
			alert(am);
			am.createBannerView( 
                        {
				'publisherId' : 'AD_ID',
                                'adSize' : am.AD_SIZE.BANNER,
                                'bannerAtTop' : true
                        }, 
                        function() {
                                am.requestAd({
                                        'isTesting' : true,
                                        'extras' : {
                                                'color_bg' : 'AAAAFF',
                                                'color_bg_top' : 'FFFFFF',
                                                'color_border' : 'FFFFFF',
                                                'color_link' : '000080',
                                                'color_text' : '808080',
                                                'color_url' : '008000'
                                        }}, 
                                        function() {}, 
                                        function() {
                                                alert('Error requesting Ad');
                                        });
                                }, 
                                function() {
                                        alert('Error create Ad Banner');
                                }
                        );
			
			//alert(window.plugins.AdMob);
			 /*
                	window.plugins.AdMob.createBannerView(
     {
       'publisherId': 'INSERT_YOUR_PUBLISHER_ID_HERE',
       'adSize': AdMob.AD_SIZE.BANNER
     },
     successCallback,
     failureCallback
 );
 

 window.plugins.AdMob.requestAd(
     {
       'isTesting': false,
       'extras': {
         'color_bg': 'AAAAFF',
         'color_bg_top': 'FFFFFF',
         'color_border': 'FFFFFF',
         'color_link': '000080',
         'color_text': '808080',
         'color_url': '008000'
       },
     },
     successCallback,
     failureCallback
 );
 */
 function successCallback(){
 	alert('sucesso');
 }
 function failureCallback(){
 	alert('failure');
 }
 
               </script>
		-->
</head>
<body>
</body>
</html>